package org.jeecg.modules.power.records.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: yl_power_bank_records
 * @Author: jeecg-boot
 * @Date:   2024-08-14
 * @Version: V1.0
 */
@Data
@TableName("yl_power_bank_records")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="yl_power_bank_records对象", description="yl_power_bank_records")
public class YlPowerBankRecords implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**记录单号*/
	@Excel(name = "记录单号", width = 15)
    @ApiModelProperty(value = "记录单号")
    private String transferNumber;
	/**订单ID（订单操作有）*/
	@Excel(name = "订单ID（订单操作有）", width = 15)
    @ApiModelProperty(value = "订单ID（订单操作有）")
    private String orderId;
	/**设备ID*/
	@Excel(name = "设备ID", width = 15)
    @ApiModelProperty(value = "设备ID")
    private String deviceId;
	/**设备sn*/
	@Excel(name = "设备sn", width = 15)
    @ApiModelProperty(value = "设备sn")
    private String deviceSn;
	/**操作类型(power_bank_type：1资产入库2bd认领3bd入桩4订单出桩5订单入桩6bd出桩7bd退库8仓库调拨)*/
	@Excel(name = "操作类型(power_bank_type：1资产入库2bd认领3bd入桩4订单出桩5订单入桩6bd出桩7bd退库8仓库调拨)", width = 15)
    @ApiModelProperty(value = "操作类型(power_bank_type：1资产入库2bd认领3bd入桩4订单出桩5订单入桩6bd出桩7bd退库8仓库调拨)")
    private String transferType;
	/**接收方ID*/
	@Excel(name = "接收方ID", width = 15)
    @ApiModelProperty(value = "接收方ID")
    private String receiveId;
	/**接收方名称*/
	@Excel(name = "接收方名称", width = 15)
    @ApiModelProperty(value = "接收方名称")
    private String receiveName;
	/**转出方ID*/
	@Excel(name = "转出方ID", width = 15)
    @ApiModelProperty(value = "转出方ID")
    private String transferId;
	/**转出方名称*/
	@Excel(name = "转出方名称", width = 15)
    @ApiModelProperty(value = "转出方名称")
    private String transferName;
	/**备注说明*/
	@Excel(name = "备注说明", width = 15)
    @ApiModelProperty(value = "备注说明")
    private String transferRemark;
	/**操作后设备上的宝数*/
	@Excel(name = "操作后设备上的宝数", width = 15)
    @ApiModelProperty(value = "操作后设备上的宝数")
    private Integer surplusNumber;
	/**操作时间*/
	@Excel(name = "操作时间", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "操作时间")
    private Date transferTime;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
}
